package sample.test;

import java.io.File;

import com.google.appengine.tools.development.ApiProxyLocalImpl;
import com.google.apphosting.api.ApiProxy.ApiProxyException;
import com.google.apphosting.api.ApiProxy.Environment;
import com.google.apphosting.api.ApiProxy.LogRecord;

class SearchDelegate extends ApiProxyLocalImpl {

	SearchDelegate(File folder) {
        super(folder);
    }

    public byte[] makeSyncCall(Environment environment, String packageName,String methodName, byte[] request) throws ApiProxyException {
//        if (packageName.equals("datastore_v3")) {
//            System.out.println("makeSyncCall:" + packageName + ":"+ methodName);
//        }else{
        	System.out.println("makeSyncCall:" + packageName + ":"+ methodName);
//        }
        return super.makeSyncCall(environment, packageName, methodName,request);
    }

    public void log(Environment environment, LogRecord logRecord) {
        super.log(environment, logRecord);
    }
}